package org.jeecg.modules.demo.erp.MaterialExtend.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: jsh_material_extend
 * @Author: jeecg-boot
 * @Date:   2024-07-28
 * @Version: V1.0
 */
@Data
@TableName("jsh_material_extend")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="jsh_material_extend对象", description="jsh_material_extend")
public class JshMaterialExtend implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.Integer id;
	/**商品id*/
	@Excel(name = "商品id", width = 15)
    @ApiModelProperty(value = "商品id")
    private java.lang.Integer materialId;
	/**商品条码*/
	@Excel(name = "商品条码", width = 15)
    @ApiModelProperty(value = "商品条码")
    private java.lang.String barCode;
	/**商品单位*/
	@Excel(name = "商品单位", width = 15)
    @ApiModelProperty(value = "商品单位")
    private java.lang.String commodityUnit;
	/**多属性*/
	@Excel(name = "多属性", width = 15)
    @ApiModelProperty(value = "多属性")
    private java.lang.String sku;
	/**采购价格*/
	@Excel(name = "采购价格", width = 15)
    @ApiModelProperty(value = "采购价格")
    private java.math.BigDecimal purchaseDecimal;
	/**零售价格*/
	@Excel(name = "零售价格", width = 15)
    @ApiModelProperty(value = "零售价格")
    private java.math.BigDecimal commodityDecimal;
	/**销售价格*/
	@Excel(name = "销售价格", width = 15)
    @ApiModelProperty(value = "销售价格")
    private java.math.BigDecimal wholesaleDecimal;
	/**最低售价*/
	@Excel(name = "最低售价", width = 15)
    @ApiModelProperty(value = "最低售价")
    private java.math.BigDecimal lowDecimal;
	/**是否为默认单位，1是，0否*/
	@Excel(name = "是否为默认单位，1是，0否", width = 15)
    @ApiModelProperty(value = "是否为默认单位，1是，0否")
    private java.lang.String defaultFlag;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**创建人编码*/
	@Excel(name = "创建人编码", width = 15)
    @ApiModelProperty(value = "创建人编码")
    private java.lang.String createSerial;
	/**更新人编码*/
	@Excel(name = "更新人编码", width = 15)
    @ApiModelProperty(value = "更新人编码")
    private java.lang.String updateSerial;
	/**更新时间戳*/
    @ApiModelProperty(value = "更新时间戳")
    private java.lang.Integer updateTime;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private java.lang.Integer tenantId;
	/**删除标记，0未删除，1删除*/
	@Excel(name = "删除标记，0未删除，1删除", width = 15)
    @ApiModelProperty(value = "删除标记，0未删除，1删除")
    private java.lang.String deleteFlag;
}
